Short:    Crossgcc linux to AmigaOS
Author:   MartinTauchmann@bigfoot.com (Martin Tauchmann)
Uploader: MartinTauchmann@bigfoot.com (Martin Tauchmann)
Version:  2.95.3-3 (-fbaserel and -fbaserel32 refixed)
Type:     dev/gcc
Requires: 686 compatible CPU
Date:     06.08.01
Url:      http://MartinTauchmann.home.pages.de
Filesize: 5578995

I have compiled gcc as a cross compiler so one can compile amiga programs on a computer with
linux. It is special usefull when one wants to port unix programs to amigaos.

installation:
untar the archive in the /root/ directory.

Add to (or create) ~/.bashrc 
export COPTFLAGS='-O3'
export LDFLAGS='-s'
PATH=/root/fsf/gg/bin:$PATH ; export PATH

Copy your amigaos-includes to /root/fsf/gg/m68k-amigaos/sys-include
They are copyright by Amiga and on the DeveloperCD and the FrozenFishCD which is sometimes mounted at
ftp://ftp.cs.tu-berlin.de/pub/amiga/
ftp://ftp.rz.uni-wuerzburg.de/pub/amiga/ 


To cross-compile C programs type:
m68k-amigaos-gcc [-O3] [-noixemul] [-resident] [-fbaserel[32]] -o HelloWorld HelloWorld.c -s

To cross-compile Oberon programs make install oo2c from http://ooc.sourceforge.net and type:
oo2c [-v] --make [--no-rtc] --config /root/fsf/gg/m68k-amigaos/lib/oo2c/oo2crc.cross ./HelloWorld | ooef


compiled with:
gcc v2.95.3   CFLAGS=-O3
binutils v2.9.1  CFLAGS=-O9 -mpentiumpro


Have fun!
